﻿@{
}



<div>
    <label>Product name</label>
    <input type="text" data-bind="value:ProductName" /> 
    <p data-bind="validationMessage: ProductName" class="text-error"></p>
    
    <div style="display: none">
        <label>Short Description</label>
        <textarea data-bind="value:ShortDescription" rows="10"  class="input-xxlarge"></textarea>
        <p data-bind="validationMessage: ShortDescription" class="text-error"></p>
        
    </div>
    

    <label>Description</label>
    <textarea data-bind="value:FullDescription" rows="10"  class="input-xxlarge" id="FullDescription"></textarea>
    <p data-bind="validationMessage: FullDescription" class="text-error"></p>

     <label>Stock Quantity</label>
    <input type="text" data-bind="value:StockQuantity"/>
    <p data-bind="validationMessage: StockQuantity" class="text-error " ></p>
    
    
     <label>SkuPrice</label>
    <input type="text" data-bind="value:Price"/>
    <p data-bind="validationMessage: Price" class="text-error " ></p>
    
    
     <label>Picture</label>
    <img data-bind="attr:{src: PictureUrl}" /> 
    <p data-bind="validationMessage: PictureId" class="text-error " ></p>
    
    <ul id="manualUploadModeExample" class="unstyled"></ul>

  

    <label class="checkbox">
      <input type="checkbox" data-bind="checked: IsPublished" > Is Published
    </label>
</div>



<input type="button"  data-bind="value:'@T("Admin.Product.Create.Button.Title")', click:SaveProductInfo" class="btn btn-primary"/>


<a  href="/admin/product/list" class="btn btn-link">@T("Admin.Product.Save.Back")</a>